package com.server.model.all.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.model.all.base.BaseEntity;
import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("role")
@Getter
@Setter

public class RoleEntity extends BaseEntity {
    /**
     *
     * @author LXC
     * @date 2022/6/17 21:32
     */
    @TableId(type = IdType.AUTO)
    private Long role_id;

    /**
     * 角色KEY
     * @author LXC
     * @date 2022/6/17 21:22
     */
    private String roleKey;

    /**
     * 角色名
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private String roleName;


    /**
     * 状态 1 启用  0 禁用
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Integer status;

    /**
     * 备注
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private String remarks;

    /**
     * 创建用户ID
     * @author LXC
     * @date 2022/3/13 22:22
     */
    private Long createUserId;

}
